﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;


namespace KanbanizeAPI
{
    public class Logger
    {
        public static void Log(string logText)
        {
            using (StreamWriter writer = new StreamWriter(@".\KanbanizeAddIn.log"))
            {
                writer.WriteLine(string.Format("{0} - {1} - {2}", DateTime.Now.ToString("yyyy/MM/dd"), DateTime.Now.ToString("HH:mm:ss"), logText));
            }
        }
    }
}
